/* ===============================
   EXPERTISE SECTION STYLES
   =============================== */

/* Section Container */
.expertise-section {
  max-width: 1440px;
  padding: 0 10px 80px;
  margin: 0 auto;
}

/* Section Title */
.expertise-section h2 {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 40px;
  color: #000;
  margin-left: 150px;
}

/* Grid Layout */
.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-left: 150px;
  margin-right: 150px;
  justify-content: space-between;
}

/* Individual Card */
.expertise-card {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.expertise-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
}

/* Card Title */
.expertise-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  color: #222;
}

/* Card Description */
.expertise-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablet */
@media (max-width: 1024px) {
  .expertise-card {
    flex: 0 0 calc(50% - 15px); /* 2 cards per row */
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* Section title */
  .expertise-section h2 {
    font-size: 26px;
    margin-bottom: 25px;
    margin-left: 0;
    padding: 0 16px;
    text-align: left;
  }

  /* Grid full width */
  .expertise-grid {
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px;
    gap: 20px;
    justify-content: flex-start;
  }

  /* Cards full width */
  .expertise-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 18px;
    border-radius: 14px;
  }
}
